package com.lyh.system.biz;

import com.lyh.common.core.domain.AjaxResult;
import com.lyh.system.domain.Order;
import com.lyh.system.domain.RechargeRecord;
import com.lyh.system.domain.req.ZfbCashAdvanceReq;
import com.lyh.system.domain.resp.WxPayInfoResp;
import org.springframework.beans.factory.annotation.Autowired;


public interface IPayBiz {


    /**
     *  支付申请记录保存
     * @param order
     */
   int savaPayRecordPrepare(Order order,String json);


   int updatePayRecordInfo(WxPayInfoResp payBackInfo,String respJson);

   /**
    *  描述：退款（目前按订单退）
    *
    * @Author：Ljx
    * @Date 2023/6/6 17:29
    * @param order
    * @param json
    * @Return
   **/
   int refundOrder(Order order,String json);


   String zfbPay(Order order);

   String zfbRechargePay(RechargeRecord order);


   String zfbRefund(Order order);

   boolean zfbAdvance(ZfbCashAdvanceReq req);
}
